/**
=====================================================================================
 CListCtrlMoreNotifies

 Description:
  CListCtrl
  Only needed 'cause the original CListCtrl didn't send all messages to the parent..
  or I'm to stupied to see my error :)
  -> Additional it's sends MouseMove Events with the Cell under MouseCursor
     ( this is used by CPage2 for displaying spell/style infos)
=====================================================================================
**/


#pragma once


// CListCtrlMoreNotifies
#define LVN_CELL_POS_CHANGED 6101
#define LVN_MOUSEMOVE   6102
#define LVN_GOT_FOCUS   6103


class CListCtrlMoreNotifies : public CListCtrl
{
        DECLARE_DYNAMIC(CListCtrlMoreNotifies)

    public:
        CListCtrlMoreNotifies();
        virtual ~CListCtrlMoreNotifies();

    protected:
        DECLARE_MESSAGE_MAP()
    public:
        afx_msg void OnHdnBegintrack(NMHDR *pNMHDR, LRESULT *pResult);
        afx_msg void OnHdnEndtrack(NMHDR *pNMHDR, LRESULT *pResult);
        afx_msg void OnHdnTrack(NMHDR *pNMHDR, LRESULT *pResult);
        afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
        afx_msg void OnMouseMove(UINT nFlags, CPoint point);

        afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
        afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
        afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
        afx_msg BOOL OnEraseBkgnd(CDC* pDC);
        afx_msg void OnSetFocus(CWnd* pOldWnd);
};


